//
//  HFQMJRefreshHeader.m
//  AiShangJinFuSalesman
//
//  Created by AiShangTong on 2017/7/22.
//  Copyright © 2018年 AiShangTong. All rights reserved.
//

#import "HFQMJRefreshHeader.h"

@implementation HFQMJRefreshHeader

+ (instancetype)headerWithRefreshingTarget:(id)target refreshingAction:(SEL)action
{
    HFQMJRefreshHeader *cmp = [[self alloc] init];
    [cmp.stateLabel setFont:UIFontMaoNormal];
    [cmp.stateLabel setTextColor:ThemeMaoBackgroundColorBar];
    cmp.lastUpdatedTimeLabel.hidden = YES;
    [cmp setRefreshingTarget:target refreshingAction:action];
    return cmp;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
